package com.zhny.aiot.xf.weigh.bridge.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.EventType;
import com.zhny.aiot.plugin.model.Operate;
import com.zhny.aiot.plugin.model.StoreEntity;
import com.zhny.aiot.plugin.model.VariableType;

public class WeighBridgeStoreEntry extends StoreEntity {
    @PropertyValue(alias = "重量",description = "物体重量", variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check, commandCode="query", eventType=EventType.Click)
    })
    private Double weight;

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight=weight;
    }
}
